{include file='header.html'}
{include file="weixin_sucai/nav.html"}
     
<div class="nav_title">微信管理 <a href="javascript:window.location.reload()">刷新</a></div>
<div class="tb1">
<style>
.sucai_menu{list-style-type:none;}
.sucai_menu li{height:30px; line-height:30px; display:block; border-bottom:1px solid #ccc;}
</style>
<form method='post' id="f1" name="f1"  action='{$appadmin}?m=weixin&a=save'>
       
      <table class='  table table-bordered' width='100%'>
        <tr>
          <td width="200" valign="top">
          <h3>素材列表</h3>
          <ul class="sucai_menu">
          
          <li><a href="{$appadmin}?m=weixin_sucai&a=addiframe&wid={$weixin.id}&id={$data.id}" target="addiframe">{$data.title}</a> <a href="{$appadmin}?m=weixin_sucai&a=addiframe&wid={$weixin.id}&pid={$data.id}" target="addiframe" style="float:right;color:red">+添加</a></li>
         {if $data.child}
         {foreach item=c from=$data.child}
         <li><a href="{$appadmin}?m=weixin_sucai&a=addiframe&wid={$c.wid}&id={$c.id}" target="addiframe">{$c.title}</a></li>
         {/foreach}
         {/if}
          
          </ul>
          </td>
          <td><iframe id="addiframe" name="addiframe" src="{$appadmin}?m=weixin_sucai&a=addiframe&wid={$weixin.id}&id={$data.id}" style="border:0px; width:100%; height:400px;"></iframe></td>
          
        </tr>
        </table>
 </form>       
</div>



{include file="footer.html"}